package cn.uce.sms.srv.service;

import cn.uce.sms.entity.CsSmNoticeViewRecord;
import cn.uce.sms.srv.dao.impl.ICsSmNoticeViewRecordDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("csSmNoticeViewRecordService")
public class CsSmNoticeViewRecordService {
    @Autowired
    private ICsSmNoticeViewRecordDao csSmNoticeViewRecordDao;

    /**
     * 新增公告查看记录
     * @param csSmNoticeViewRecord 公告记录表
     * @return
     */
    public Integer saveCsSmNoticeViewRecord(CsSmNoticeViewRecord csSmNoticeViewRecord) {
        return csSmNoticeViewRecordDao.insert(csSmNoticeViewRecord);
    }
}
